﻿// H5登录界面样式
.login-container {
	min-height: 100vh;
	background: #ffffff;
	position: relative;
}


/* 主要内容区域 */
.main-content {
	padding: 100rpx 30rpx 60rpx;
}

/* 授权登录区域 */
.auth-section {
	text-align: center;
}


.auth-card {
	background: #ffffff;
	border-radius: 24rpx;
	padding: 60rpx 40rpx;
	box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
	border: 1rpx solid #f0f0f0;
}

.auth-title {
	font-size: 48rpx;
	font-weight: bold;
	color: #333;
	margin-bottom: 20rpx;
}

.auth-desc {
	font-size: 28rpx;
	color: #666;
	margin-bottom: 60rpx;
}

.auth-btn {
	width: 100%;
	height: 88rpx;
	background: linear-gradient(135deg, #2DB295 0%, #1e8e6a 100%);
	border-radius: 44rpx;
	border: none;
	margin-bottom: 40rpx;
	box-shadow: 0 8rpx 20rpx rgba(45, 178, 149, 0.3);
	transition: all 0.3s ease;
}

.auth-btn:active {
	transform: translateY(2rpx);
	box-shadow: 0 4rpx 12rpx rgba(45, 178, 149, 0.3);
}

.auth-btn.disabled {
	background: #e0e0e0;
	box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
	opacity: 0.8;
	border: 2rpx solid #d0d0d0;
}

.btn-content {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.btn-icon {
	font-size: 32rpx;
	margin-right: 16rpx;
}

.btn-text {
	color: #fff;
	font-size: 32rpx;
	font-weight: bold;
}

.auth-btn.disabled .btn-text {
	color: #999;
}

.switch-login {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20rpx;
}

.switch-text {
	color: #2DB295;
	font-size: 28rpx;
	margin-right: 10rpx;
}

.switch-arrow {
	color: #2DB295;
	font-size: 32rpx;
	font-weight: bold;
}

/* 短信登录区域 */
.sms-section {
	background: #ffffff;
	border-radius: 24rpx;
	padding: 40rpx;
	box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
	border: 1rpx solid #f0f0f0;
	width: 100%;
	box-sizing: border-box;
}

.form-header {
	text-align: center;
	margin-bottom: 60rpx;
}

.form-title {
	font-size: 48rpx;
	font-weight: bold;
	color: #333;
	margin-bottom: 20rpx;
}

.form-desc {
	font-size: 28rpx;
	color: #666;
}

.form-content {
	width: 100%;
}

.input-group {
	margin-bottom: 40rpx;
	width: 100%;
	box-sizing: border-box;
}

.input-label {
	font-size: 28rpx;
	color: #333;
	margin-bottom: 16rpx;
	font-weight: 500;
}

.form-input {
	width: 100%;
	height: 88rpx;
	background: #F8F9FA;
	border: 2rpx solid #E9ECEF;
	border-radius: 12rpx;
	padding: 0 24rpx;
	font-size: 28rpx;
	color: #333;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.form-input:focus {
	border-color: #2DB295;
	background: #fff;
}

.code-input-wrapper {
	display: flex;
	align-items: center;
	gap: 20rpx;
	width: 100%;
	box-sizing: border-box;
}

.code-input {
	flex: 1;
}

.code-btn {
	width: 200rpx;
	height: 88rpx;
	background: #2DB295;
	color: #fff;
	border-radius: 12rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24rpx;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.code-btn:active {
	background: #1e8e6a;
}

.code-btn.disabled {
	background: #ccc;
	color: #999;
}

.login-btn {
	width: 100%;
	height: 88rpx;
	background: linear-gradient(135deg, #2DB295 0%, #1e8e6a 100%);
	border-radius: 12rpx;
	border: none;
	color: #fff;
	font-size: 32rpx;
	font-weight: bold;
	margin: 40rpx 0;
	box-shadow: 0 8rpx 20rpx rgba(45, 178, 149, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.login-btn:active {
	transform: translateY(2rpx);
	box-shadow: 0 4rpx 12rpx rgba(45, 178, 149, 0.3);
}

.back-to-auth {
	text-align: center;
	padding: 20rpx;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.back-to-auth:active {
	opacity: 0.7;
}

.back-text {
	color: #2DB295;
	font-size: 28rpx;
}

/* 协议区域 */
.agreement-section {
	padding: 0 30rpx 40rpx;
}

.agreement-wrapper {
	display: flex;
	align-items: flex-start;
	padding: 20rpx;
	background: #f8f9fa;
	border-radius: 12rpx;
	border: 1rpx solid #e9ecef;
}

.checkbox {
	width: 32rpx;
	height: 32rpx;
	border: 2rpx solid #ddd;
	border-radius: 6rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	margin-right: 16rpx;
	margin-top: 4rpx;
	transition: all 0.3s ease;
}

.checkbox.checked {
	background: #2DB295;
	border-color: #2DB295;
}

.checkmark {
	color: #fff;
	font-size: 20rpx;
	font-weight: bold;
}

.agreement-text {
	flex: 1;
	font-size: 24rpx;
	color: #666;
	line-height: 1.5;
}

.link {
	color: #2DB295;
	text-decoration: underline;
}

/* 协议弹窗 */
.protocol-modal {
	background: #fff;
	border-radius: 24rpx 24rpx 0 0;
	height: 80vh;
	display: flex;
	flex-direction: column;
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30rpx;
	border-bottom: 2rpx solid #F0F0F0;
}

.modal-title {
	font-size: 36rpx;
	font-weight: bold;
	color: #333;
}

.close-btn {
	width: 60rpx;
	height: 60rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40rpx;
	color: #999;
}

.modal-content {
	flex: 1;
	padding: 30rpx;
	overflow-y: auto;
}